package com.dcrzl.gazgmh.common.entity.mh;

import com.baomidou.mybatisplus.annotation.*;
import com.dcrzl.gazgmh.common.utils.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;


/**
 * @author dcrzl
 * @email 1728795786@qq.com
 * @date 2024-11-24 15:50:55
 */
@Data
@TableName("t_mh_banner")
@Accessors(chain = true)
public class MhBanner extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     *
     */
    @TableField(value = "file_path")
    private String filePath;
    @TableField(value = "title")
    private String title;
    /**
     *
     */
    @TableField(value = "module_id")
    private Long moduleId;
    @TableField(value = "content_id")
    private Long contentId;
    @TableField(value = "url")
    private String url;
    /**
     *
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    @TableField(value = "order_num")
    private Integer orderNum;

    /**
     *
     */
    @TableField(value = "status", fill = FieldFill.INSERT)
    private Integer status;
    /**
     *
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     *
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private MhModule mhModule;

    @TableField(exist = false)
    private Collection<Long> moduleIdList;

}
